home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / ratfor.arc / LOOKUP.H < prev    next >
Encoding:
C/C++ Source or Header  |  1985-07-04  |  449 b   |  18 lines

  1. /*
  2.  * from K&R "The C Programming language"
  3.  * Table lookup routines 
  4.  * structure and definitions
  5.  *
  6.  */
  7.  
  8.                                         /* basic table entry */
  9. struct hashlist {
  10.         char    *name;
  11.         char    *def;
  12.         struct  hashlist *next;         /* next in chain     */
  13. };
  14.  
  15. #define HASHMAX 100                     /* size of hashtable */
  16.  
  17.                                         /* hash table itself */
  18.